///
/// ArmyBodger 3
/// (c)2010 richyp
///
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ArmyBodger.Core {
    /// <summary>
    /// This class represents a Codex/Army Book
    /// </summary>
    public class ArmyBook {
        /// <summary>
        /// Default Constructor
        /// </summary>
        public ArmyBook() {
            this.Header = new Header();
            this.ScriptFiles = new List<string>();
            this.BaseUnits = new BaseUnitCollection();
            this.Equipment = new EquipmentCollection();
            this.AvailableEntries = new EntryCollection();
        }
       /// <summary>
       /// Dynamic Header, contains the content from the <header></header> section of 
       /// the index.xml
       /// </summary>
        public dynamic Header { get; set; }
        /// <summary>
        /// Script files used by this Army Book
        /// </summary>
        public List<string> ScriptFiles { get; set; }
        /// <summary>
        /// The Base Units/Templates for units and Vehicles
        /// </summary>
        public BaseUnitCollection BaseUnits { get; set;}
        /// <summary>
        /// The Army Book specific equipment
        /// </summary>
        public EquipmentCollection Equipment { get; set;}
        /// <summary>
        /// All of the Entry objects provided by this Army Book
        /// </summary>
        public EntryCollection AvailableEntries { get; set; }
    }
}
